package com.pactera.madp.cp.api.entity.sensitive;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pactera.madp.cp.api.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * @description:智能风控-敏感词分组表
 */
@TableName("cp_sensitive_word_group")
@ApiModel(value = "敏感词分组")
@Data
@EqualsAndHashCode(callSuper = false)
public class SensitiveWordGroupEntity extends BaseEntity<SensitiveWordGroupEntity> {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "企业id")
    private Integer corpId;//企业id

    @ApiModelProperty(value = "用户id")
    private Integer userId;//用户id(cp_user.id)

    @ApiModelProperty(value = "员工id")
    private Integer EmployeeId;//员工id （cp_work_employee.id)

    @ApiModelProperty(value = "分组名称")
    @TableField("name")
    private String name;//分组名称

}
